﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Avatar.Model;
using AvatarHelper;

/// <summary>
///IndustryManger 的摘要说明
/// </summary>
public class IndustryManager
{
    public static Industry GetIndustry(int _id)
    {
        return DBHelper.Get<Industry>(i => i.ID == _id, "获取行业信息出错:");
    }
    public static List<Industry> GetIndustry()
    {
        return DBHelper.GetAll<Industry>("获取行业信息列表出错:");
    }
}
